mips-force-nomadd4
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Fri, 8 Jan 2021 11:48:25 +0000 (11:48 +0000)
committerGianfranco Costamagna <locutusofborg@debian.org>
Fri, 8 Jan 2021 11:48:25 +0000 (11:48 +0000)
commit5770abc65ee162b8a11467b7fa8001267aeecb4a
treebedee992c465bc9d4f9382212b1bd11be43ebe08
parentc1e7c2c61845a47cb0c48a3a220febdd103eb57e
mips-force-nomadd4

The MIPS port aims to support the Loongson 3 family of CPUs in addition
of the other MIPS CPUs. On the Loongson 3 family the MADD4 instructions
are fused, while they are not fused on the other MIPS CPUs. In order to
support both, we have to disabled those instructions.

For that, the patch below basically corresponds to the --with-madd4=no
used on the GCC side.

Gbp-Pq: Name mips-force-nomadd4.diff
clang/lib/Basic/Targets/Mips.h